﻿@model websitev2.Models.Info.AppDetails
<div class="box onethird floatleft">
    <h3 class="red">
        Statistics <a href="#" class="toggle">Toggle</a></h3>
    <div class="box-content">
        <ul class="relative">
            @if (Model.ImageURL == "")
            {
                if (Request.IsAuthenticated)
                { 
                    <text>
                   	<a href="/Image/Upload/App/">Upload an image</a>
                    </text>
                }
                   
            }
            else
            {
                <li>
                    <img src="@Model.ImageURL" /></li>
            }
            <li>Signature
                <p>
                    @Model.Signature&#46;EXE
                </p>
            </li>
            <li>Classified As
                <p>
                    <a href="/info/windowsapplications/@Model.ClassifiedAsID">@Model.ClassifiedAsName</a></p>
            </li>
            <li>First Seen
                <p>
                    @Model.FirstSeenOn
                </p>
            </li>
            <li>Average Time Per Day
                <p>@String.Format("{0:%h} hours {0:%m} mins", Model.AveragePerDay)
                </p>
            </li>
            <li>Total time logged
                <p>
                    @String.Format("{0:%d} days {0:%h}hours {0:%m}m", Model.TotalTimeLogged)
                </p>
            </li>
        </ul>
    </div>
    <!-- /box-content -->
</div>
<!-- /box -->
